package com.bx.implatform.ucc.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "融合通讯接口返回结果对象")
public class UccBaseResult<T> {

    @Schema(description = "返回码")
    private Integer code;

    @Schema(description = "返回数据")
    private T data;

    @Schema(description = "返回信息")
    private String msg;

    @Schema(description = "扩展数据")
    private Object extraData;

    @Schema(description = "时间戳")
    private String timestamp;
}
